
#include "Match.h"

Match::Match(CvPoint p1,CvPoint p2, double value)
{
	point1=p1;
	point2=p2;
	matchValue=value;
}

Match::Match()
{
	point1.x=-1;
	point1.y=-1;

	point2.x=-1;
	point2.y=-1;
	matchValue=-1;
}

Match::Match(const Match& m)
{
	matchValue=m.matchValue;
	point1=m.point1;
	point2=m.point2;
}


Match& Match::operator=(const Match& m)
{
	matchValue=m.matchValue;
	point1.x=m.point1.x;
	point1.y=m.point1.y;

	point2.x=m.point2.x;
	point2.y=m.point2.y;
	
	return *this;

}

Match::~Match(void)
{
}

